package com.wsoft.bpm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 流程模版与业务表映射关系
 * </p>
 *
 * @author zhonglj
 * @since 2024年10月17日 16:26:03
 */
@Getter
@Setter
@TableName("act_process_mapping")
@Schema(name = "ActProcessMappingEntity", description = "流程模版与业务表映射关系")
public class ActProcessMappingEntity extends BaseEntity {

    @Schema(description = "业务表名")
    @TableField("table_name")
    private String tableName;

    @Schema(description = "流程实例id")
    @TableField("process_instant_id")
    private String processInstantId;

    @Schema(description = "业务代码")
    @TableField("process_key")
    private String processKey;

    @Schema(description = "业务唯一字段")
    @TableField("business_key_column")
    private String businessKeyColumn;

    @Schema(description = "业务唯一值")
    @TableField("business_key")
    private String businessKey;

    @Schema(description = "业务状态字段")
    @TableField("status_column")
    private String statusColumn;
}
